package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_opt_ewb_abnormal")
public class HsOptEwbAbnormal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作编号
     */
    @TableId("operation_id")
    private String operationId;
    /**
     * 运单号
     */
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 异常上报网点
     */
    @TableField("site_id")
    private Integer siteId;
    /**
     * 货差数量
     */
    @TableField("diff_piece")
    private Integer diffPiece;
    /**
     * 货损数量
     */
    @TableField("damage_piece")
    private Integer damagePiece;
    /**
     * 登记人
     */
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 处理人
     */
    @TableField("handle_by")
    private Integer handleBy;
    /**
     * 处理时间
     */
    @TableField("handle_time")
    private Date handleTime;
    /**
     * 处理意见
     */
    @TableField("handle_suggestion")
    private String handleSuggestion;
    /**
     * 处理状态  0  未处理    1已处理
     */
    @TableField("handle_status")
    private Integer handleStatus;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private Integer modifiedBy;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 数据来源
     */
    @TableField("scan_source_id")
    private Integer scanSourceId;
    /**
     * 设备编号
     * @return
     */
    @TableField("device_code")
    private String deviceCode;
    private Integer sourceType;

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }
    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public Integer getDiffPiece() {
        return diffPiece;
    }

    public void setDiffPiece(Integer diffPiece) {
        this.diffPiece = diffPiece;
    }

    public Integer getDamagePiece() {
        return damagePiece;
    }

    public void setDamagePiece(Integer damagePiece) {
        this.damagePiece = damagePiece;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getHandleBy() {
        return handleBy;
    }

    public void setHandleBy(Integer handleBy) {
        this.handleBy = handleBy;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    public String getHandleSuggestion() {
        return handleSuggestion;
    }

    public void setHandleSuggestion(String handleSuggestion) {
        this.handleSuggestion = handleSuggestion;
    }

    public Integer getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(Integer handleStatus) {
        this.handleStatus = handleStatus;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Integer modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public Integer getScanSourceId() {
        return scanSourceId;
    }

    public void setScanSourceId(Integer scanSourceId) {
        this.scanSourceId = scanSourceId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    @Override
    public String toString() {
        return "HsOptEwbAbnormal{" +
                "ewbNo='" + ewbNo + '\'' +
                ", siteId=" + siteId +
                ", diffPiece=" + diffPiece +
                ", damagePiece=" + damagePiece +
                ", createdBy=" + createdBy +
                ", createdTime=" + createdTime +
                ", handleBy=" + handleBy +
                ", handleTime=" + handleTime +
                ", handleSuggestion='" + handleSuggestion + '\'' +
                ", handleStatus=" + handleStatus +
                ", modifiedTime=" + modifiedTime +
                ", modifiedBy=" + modifiedBy +
                ", rdStatus=" + rdStatus +
                ", scanSourceId=" + scanSourceId +
                ", deviceCode='" + deviceCode + '\'' +
                '}';
    }
}
